#/bin/bash

# >>> conda initialize >>>
__conda_setup="$('/home/xs/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/home/xs/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/home/xs/anaconda3/etc/profile.d/conda.sh"
    else
        export PATH="/home/xs/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<

conda activate dgn

#env_name=("PP"  "Surviving")
env_name=("Surviving")

#difficulty_level=("easy" "medium" "hard")
difficulty_level=("easy" "medium")

#model_type=("DGN_R2" "GACPN_R2" "TranDGN")
model_type=("GACPN_R2")

seed=(20 50)

for env in "${env_name[@]}"
do
  for edl in "${difficulty_level[@]}"
  do
    for model in "${model_type[@]}"
    do
      for sd in "${seed[@]}"
      do
        sleep 1s
        python main.py -env $env -edl $edl -m $model -S $sd &
      done
    done
  done
done

jobs

